package com.modelclient.app;

import android.os.Bundle;

import com.modelclient.app.test.MineFragment;
import com.modelclient.baselib.view.BaseActivity;

import butterknife.ButterKnife;

public class MainActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);
        MineFragment mineFragment = MineFragment.newInstance();
        getSupportFragmentManager()
                .beginTransaction()
                .add(R.id.fl_container, mineFragment, MineFragment.TAG)
                .commitAllowingStateLoss();
    }
}